package org.cainiao.api.lark.dto.request;

import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.SuperBuilder;

/**
 * <br />
 * <p>
 * Author: Cai Niao(wdhlzd@163.com)<br />
 */
@Data
@EqualsAndHashCode(callSuper = true)
@SuperBuilder
public class LarkPageOrderRequest extends LarkUserIdPageRequest {

    /**
     * 排序规则
     * TODO 考虑是否改用枚举
     */
    @Builder.Default
    private String orderBy = "EditedTime";

    /**
     * 升序降序
     * TODO 改用枚举
     */
    @Builder.Default
    private String direction = "DESC";
}
